Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcTBillYieldFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 3 items: settlement, maturity, pr.

Settlement is the Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.

Maturity is the Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.

Pr is the Treasury bill's price per $100 face value.

Returns the System.Double yield for a Treasury bill.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcTBillYieldFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 3 items: settlement, maturity, pr.

Settlement is the Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.

Maturity is the Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.

Pr is the Treasury bill's price per $100 face value.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcTBillYieldFunction Class
CalcTBillYieldFunction Members
Overload List